package com.example.avmanagerweb.service;

import com.example.avmanagerweb.entity.Devicinpt;
import com.example.avmanagerweb.entity.SysDepartment;
import com.example.avmanagerweb.entity.SysDevic;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.avmanagerweb.entity.vo.RemoveDevicVo;
import com.example.avmanagerweb.entity.vo.SysDevicVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xg
 * @since 2023-06-29
 */
public interface SysDevicService extends IService<SysDevic> {
    boolean addDevic(SysDevicVo sysDevicVo);

    boolean removeDevic(int id);

    boolean delDevList(List<Devicinpt> devicinpts, boolean fla);
    boolean delDevList(List<Devicinpt> devicinpts, List<SysDepartment> sysDepartments, boolean fla);

    boolean saveDevicLisr(SysDevicVo sysDevicVo);

    boolean removeId(long id);
}
